package com.markedquilt.homepage;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author ZhangKe
 * @Description 基本的用户信息
 * @date 2020/12/27 13:32.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo {

    private Long id;

    private String userName;

    private String email;

    public static UserInfo invalid(){
        return new UserInfo(-1L,"","");
    }
}
